package cn.sc.summer.protocol.form.route;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

/**
 * 类名：路由绑定api接口
 *
 * @author a-xin
 * @date 2023/12/4 11:15
 */
@Data
@Accessors(chain = true)
@ApiModel("路由绑定api接口")
public class RouteBindForm implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 路由ID
     */
    @ApiModelProperty(value = "路由ID")
    @NotBlank(message = "路由ID不能为空！")
    private String routeId;

    /**
     * apiID集合
     */
    @ApiModelProperty(value = "apiID集合")
    @NotBlank(message = "api接口ID集合不能为空！")
    private List<String> apiIds;


}
